﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaz.HolidayManagementSystem.Business.DomainObjects;
using Kaz.HolidayManagementSystem.Business.Repositories.Interfaces;
using Kaz.HolidayManagementSystem.Common.Enums;

namespace Kaz.HolidayManagementSystem.FakeRepository
{
    public class FakeEmployeeData
    {
        public static Employee CreateEmployee(IRepository repository)
        {
            Employee employee = new Employee(repository);
            employee.Id = "KS014";
            employee.Name = "Munim";
            employee.DateOfBirth = new DateTime(1983, 3, 10);
            employee.JoiningDate = new DateTime(2007, 3, 10);
            employee.Designation = DesignationType.SoftwareEngineer;
            employee.Address = string.Empty;
            employee.Mobile = string.Empty;
            employee.Email = "me@munim.net";
            return employee;
        }
    }
    public class FakeEmployeeRepository:IRepository
    {

        #region IRepository Members

        public bool SaveEmployee(Employee employee)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
